package com.jacklin.VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 商品(包含类目)
 * @Author:JackLin
 * @Create 2019/3/27 0:08
 */
@Data
public class ProductVO implements Serializable {

    private static final long serialVersionUID = 8521676897475929923L;

    @JsonProperty("name")   //这里设置返回给前端的属性名为name
    private String categoryName;

    @JsonProperty("type")
    private Integer categoryType;

    @JsonProperty("foots")
    private List<ProductInfoVO> productInfoVOList;



}
